projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b7802
)
Print the time to xend-debug.log, when starting or restarting Xend.
author
Ewan Mellor
<ewan@xensource.com>
Wed, 25 Oct 2006 14:01:51 +0000
(15:01 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 25 Oct 2006 14:01:51 +0000
(15:01 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/SrvDaemon.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/server/SrvDaemon.py
b/tools/python/xen/xend/server/SrvDaemon.py
index 254c5d6939c4a446b84458ce36719921e1775fa4..baba3c437d3831f318c0ccd83990ee7a2195018b 100644
(file)
--- a/
tools/python/xen/xend/server/SrvDaemon.py
+++ b/
tools/python/xen/xend/server/SrvDaemon.py
@@
-9,6
+9,7
@@
import os
import signal
import sys
import threading
+import time
import linecache
import pwd
import re
@@
-112,6
+113,8
@@
class Daemon:
os.open('/dev/null', os.O_RDWR)
os.dup(0)
os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND)
+ print >>sys.stderr, ("Xend started at %s." %
+ time.asctime(time.localtime()))
def start(self, trace=0):